<script setup lang="ts">
import { useRouter } from 'vue-router';
import ContractPage from '@/pages/Contract/components/ContractPage/index.vue';
const leftBack = () => history.back();
const router = useRouter();
const type: any = router.currentRoute.value.params.id;
</script>
<template>
  <van-nav-bar title="我的合约" left-arrow @click-left="leftBack" />
  <Suspense>
    <ContractPage :type="type" />
  </Suspense>
</template>
<style scoped></style>
